package booroo.basic;

import java.util.Scanner;

public class J08_HeightPrint_v2 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num[] = new int[9];
		System.out.print("9개의 숫자를 입력하세요 : ");
		for(int i = 0;i <= 8;++i){
			for(int j = 0;j <= 2;++j){
				num[j] = sc.nextInt();
				System.out.print(num[j] + " ");
				}
			System.out.println();
			for(int j = 3;j <= 5;++j){
				num[j] = sc.nextInt();
				System.out.print(num[j] + " ");
				}
			System.out.println();
			for(int j = 6;j <= 8;++j){
				num[j] = sc.nextInt();
				System.out.print(num[j] + " ");
				}
			}
		sc.close();
	}

}
